projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aef89e
)
Add comment to last change by jhd.
author
Chong Yidong
<cyd@stupidchicken.com>
Sat, 20 Dec 2008 20:51:23 +0000
(20:51 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Sat, 20 Dec 2008 20:51:23 +0000
(20:51 +0000)
src/frame.c
patch
|
blob
|
history
diff --git
a/src/frame.c
b/src/frame.c
index db8874f52802209e3e08aef09f6687c96b03c729..a21bacc80daecced2e694a21797f2eed3e051036 100644
(file)
--- a/
src/frame.c
+++ b/
src/frame.c
@@
-1480,6
+1480,10
@@
But FORCE inhibits this too. */)
Vframe_list = Fdelq (frame, Vframe_list);
FRAME_SET_VISIBLE (f, 0);
+ /* Allow the vector of menu bar contents to be freed in the next
+ garbage collection. The frame object itself may not be garbage
+ collected until much later, because recent_keys and other data
+ structures can still refer to it. */
f->menu_bar_vector = Qnil;
free_font_driver_list (f);